/**
 * 
 */
package com.wubo.sec.util;

/**
 * @author WuBo
 * @CreateDate 2011-5-16
 * @version 1.0.1
 */
public class CharCutter {
	
	public static String cut(String s, int maxLength){
		if(s.length() > maxLength)
			return s.substring(0, maxLength - 3) + "...";
		else
			return s;
	}

}
